package com.coolingme.logger;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * JsonLoggerDecorator 的工厂
 *
 * @author wangyue
 * @date 2020/9/16 9:44
 */
public class JsonLoggerFactory {

    public static JsonLogger getLogger(Class<?> clazz) {
        Logger logger = LoggerFactory.getLogger(clazz);
        return new JsonLogger(logger);
    }

}
